Mt Xia: Technical Consulting Group

Business Continuity / Disaster Recovery / High Availability
Data Center Automation / Audit Response / Audit Compliance

Additional documents of interest

  • Successful Business Continuity - Part 1 - Users and Groups
    This article was published in the April 2005 issue of AIX Update magazine and discusses system administration needs and requirements oriented around users and groups. The overall emphasis of this series of articles is for implementation of enterprise wide unique identifiers for a variety of parameters, such as user names, group names, UID and GID numbers.
  • Successful Business Continuity - Part 2 - Machine and Host Names
    This article was published in the May 2005 issue of AIX Update magazine and discusses naming structures for machines, systems, adapters, and aliases. The overall emphasis of this series of articles is for implementation of enterprise wide unique identifiers for a variety of parameters.
  • Successful Business Continuity - Part 3 - Volume Names
    This article was published in the December 2005 issue of AIX Update magazine and discusses naming structures for volume groups, logical volumes, log logical volumes, directory mount points, etc. The overall emphasis of this series of articles is for implementation of enterprise wide unique identifiers for a variety of parameters.
  • Successful Business Continuity - Part 4 - MQ Series, Startup/Shutdown Scripts, Error Processing
    This article was published in the April 2006 issue of AIX Update magazine and discusses how to implement AIX in an environment dedicated to business continuity. The topic of this article is the assignment of MQ Series queue names and aliases, resource group startup and shutdown script names (Application startup/shutdown script names), error logging, and error notification.
  • Successful Business Continuity - Part 5 - Miscellaneous topics
    This article was published in the August 2006 issue of AIX Update magazine and discusses how to implement AIX in an environment dedicated to business continuity. A variety of topics is discussed in this article including automated documentation generation and management.
  • Automated Microcode Management System
    One of the most difficult administration tasks in an AIX environment is attempting to keep the firmware and microcode up-to-date. Mt Xia has devised an automated method of gathering the Microcode information, determining which microcode needs to be updated, generating reports, and uploading the required microcode updates to each individual system.
  • Calculating the size of a Virtual Processor
    This document describes the algorithms used to calculate the size of a virtual processor when using shared processors in an LPAR. The IBM documentation describes how to calculate CPU utilization, NOT how to size for configuration, this document clarifies this process. A description of the HMC input fields for the processor tab is included.
  • Basics of Partition Load Manager Setup
    This presentation was provided by Ron Barker from IBM regarding the PLM Basic setup.
  • ppt
  • pdf
  • The following procedure is specific to an LPAR named "dalapvio01" but is representative of how to configure etherchannels on all VIO servers in the Mt Xia environment. This procedure removes all existing ethernet devices and reconfigures them from scratch. This has been found to be the best method for configuring network devices on the VIO server.


    #procedure|VIO ethernet config for dalapvio01 serving HACMP LPAR's| see
    #below
    
    # Unconfigure all ethernet adapters
    lscfg -l ent*
    for i in 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
    do
      ifconfig en${i} down
      ifconfig en${i} detach
      ifconfig et${i} down
      ifconfig et${i} detach
      rmdev -Rdl ent${i}
      rmdev -Rdl en${i}
      rmdev -Rdl et${i}
    done
    ifconfig -a
    lsdev -Cc adapter | grep ent
    
    
    # Rediscover all ethernet adapters
    cfgmgr
    lsdev -Cc adapter | grep ent
    lsdev -C | grep inet
    lsdev -C | grep lo
    lscfg -l ent*
    
    
    # turn off the chksum_offload parameter on all adapters
    for i in 10 9 8 7 6 5 4 3 2 1 0
    do
      lsattr -El ent${i} | grep chksum_offload
      chdev -l ent${i} -a chksum_offload=no
      chdev -l ent${i} -a chksum_offload=no -P
      lsattr -El ent${i} | grep chksum_offload
    done
    
    # dalapvio01:ent0      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio01:ent2      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio01:ent6      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio01:ent1      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio01:ent3      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio01:ent4      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio01:ent5      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    
    # Create etherchannel adapters
    rmdev -Rdl ent11
    rmdev -Rdl en11
    rmdev -Rdl et11
    
    rmdev -Rdl ent12
    rmdev -Rdl en12
    rmdev -Rdl et12
    
    # The network address used is that of the default gateway, used to
    # determine the health of the etherchannel.
    
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent0,ent2,ent6' \
       -a netaddr=10.33.65.254
    then
      /usr/lib/methods/defif
    fi
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent1,ent3,ent4' \
       -a netaddr=10.33.68.254 \
       -a backup_adapter='ent5'
    then
      /usr/lib/methods/defif
    fi
    lsdev -Cc adapter | grep ent
    
    chdev -l ent11 -a mode=round_robin
    chdev -l ent12 -a mode=round_robin
    lsattr -El ent11
    lsattr -El ent12
    
    # build the SEA's (shared ethernet adapters)
    /usr/ios/cli/ioscli mkvdev -sea ent11 -vadapter ent7 \
      -default ent7 -defaultid 65
    /usr/ios/cli/ioscli mkvdev -sea ent12 -vadapter ent9 \
      -default ent9 -defaultid 68
    
    # configure IP addresses on unused virtual ethernet devices
    smitty tcpip
    
    # dalapvio01: en8:  inet 10.33.65.182 netmask 0xffffff00
    # dalapvio01: en10: inet 10.33.68.150 netmask 0xffffff00
    
    ################################################################
    
    procedure|VIO ethernet config for dalapvio02 serving HACMP LPAR's| see
    below
    
    # Unconfigure all ethernet adapters
    lscfg -l ent*
    for i in 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
    do
      ifconfig en${i} down
      ifconfig en${i} detach
      ifconfig et${i} down
      ifconfig et${i} detach
      rmdev -Rdl ent${i}
      rmdev -Rdl en${i}
      rmdev -Rdl et${i}
    done
    ifconfig -a
    lsdev -Cc adapter | grep ent
    
    
    
    # turn off the chksum_offload parameter on all adapters
    for i in 10 9 8 7 6 5 4 3 2 1 0
    do
      lsattr -El ent${i} | grep chksum_offload
      chdev -l ent${i} -a chksum_offload=no
      chdev -l ent${i} -a chksum_offload=no -P
      lsattr -El ent${i} | grep chksum_offload
    done
    
    # dalapvio02:ent0      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio02:ent1      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio02:ent6      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio02:ent2      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio02:ent3      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio02:ent4      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio02:ent5      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    
    # Create etherchannel adapters
    rmdev -Rdl ent11
    rmdev -Rdl en11
    rmdev -Rdl et11
    
    rmdev -Rdl ent12
    rmdev -Rdl en12
    rmdev -Rdl et12
    
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent0,ent1,ent6' \
       -a netaddr=10.33.65.254
    then
      /usr/lib/methods/defif
    fi
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent2,ent3,ent4' \
       -a netaddr=10.33.68.254 \
       -a backup_adapter='ent5'
    then
      /usr/lib/methods/defif
    fi
    lsdev -Cc adapter | grep ent
    
    chdev -l ent11 -a mode=round_robin
    chdev -l ent12 -a mode=round_robin
    lsattr -El ent11
    lsattr -El ent12
    
    # build the SEA's (shared ethernet adapters)
    /usr/ios/cli/ioscli mkvdev -sea ent11 -vadapter ent7 \
      -default ent7 -defaultid 65
    /usr/ios/cli/ioscli mkvdev -sea ent12 -vadapter ent9 \
      -default ent9 -defaultid 68
    
    # configure IP addresses on etherchannels
    smitty tcpip
    
    # dalapvio02: en8:  inet 10.33.65.183 netmask 0xffffff00
    # dalapvio02: en10: inet 10.33.68.151 netmask 0xffffff00
    
    ################################################################
    
    procedure|VIO ethernet config for dalapvio03 serving HACMP LPAR's| see
    below
    
    # Unconfigure all ethernet adapters
    lscfg -l ent*
    for i in 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
    do
      ifconfig en${i} down
      ifconfig en${i} detach
      ifconfig et${i} down
      ifconfig et${i} detach
      rmdev -Rdl ent${i}
      rmdev -Rdl en${i}
      rmdev -Rdl et${i}
    done
    ifconfig -a
    lsdev -Cc adapter | grep ent
    
    
    # Rediscover all ethernet adapters
    cfgmgr
    lsdev -Cc adapter | grep ent
    lsdev -C | grep inet
    lsdev -C | grep lo
    lscfg -l ent*
    
    # turn off the chksum_offload parameter on all adapters
    for i in 10 9 8 7 6 5 4 3 2 1 0
    do
      lsattr -El ent${i} | grep chksum_offload
      chdev -l ent${i} -a chksum_offload=no
      chdev -l ent${i} -a chksum_offload=no -P
      lsattr -El ent${i} | grep chksum_offload
    done
    
    # dalapvio03:ent0      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio03:ent2      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio03:ent6      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio03:ent1      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio03:ent3      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio03:ent4      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio03:ent5      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    
    # Create etherchannel adapters
    rmdev -Rdl ent11
    rmdev -Rdl en11
    rmdev -Rdl et11
    
    rmdev -Rdl ent12
    rmdev -Rdl en12
    rmdev -Rdl et12
    
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent0,ent2,ent6' \
       -a netaddr=10.33.65.254
    then
      /usr/lib/methods/defif
    fi
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent1,ent3,ent4' \
       -a netaddr=10.33.68.254 \
       -a backup_adapter='ent5'
    then
      /usr/lib/methods/defif
    fi
    lsdev -Cc adapter | grep ent
    
    chdev -l ent11 -a mode=round_robin
    chdev -l ent12 -a mode=round_robin
    lsattr -El ent11
    lsattr -El ent12
    
    # build the SEA's (shared ethernet adapters)
    /usr/ios/cli/ioscli mkvdev -sea ent11 -vadapter ent7 \
      -default ent7 -defaultid 65
    /usr/ios/cli/ioscli mkvdev -sea ent12 -vadapter ent9 \
      -default ent9 -defaultid 68
    
    # configure IP addresses on etherchannels
    smitty tcpip
    
    # dalapvio03: en8:  inet 10.33.65.184 netmask 0xffffff00
    # dalapvio03: en10: inet 10.33.68.152 netmask 0xffffff00
    
    
    ################################################################
    
    procedure|VIO ethernet config for dalapvio04 serving HACMP LPAR's| see
    below
    
    # Unconfigure all ethernet adapters
    lscfg -l ent*
    for i in 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
    do
      ifconfig en${i} down
      ifconfig en${i} detach
      ifconfig et${i} down
      ifconfig et${i} detach
      rmdev -Rdl ent${i}
      rmdev -Rdl en${i}
      rmdev -Rdl et${i}
    done
    ifconfig -a
    lsdev -Cc adapter | grep ent
    
    
    # Rediscover all ethernet adapters
    cfgmgr
    lsdev -Cc adapter | grep ent
    lsdev -C | grep inet
    lsdev -C | grep lo
    lscfg -l ent*
    
    # turn off the chksum_offload parameter on all adapters
    for i in 10 9 8 7 6 5 4 3 2 1 0
    do
      lsattr -El ent${i} | grep chksum_offload
      chdev -l ent${i} -a chksum_offload=no
      chdev -l ent${i} -a chksum_offload=no -P
      lsattr -El ent${i} | grep chksum_offload
    done
    
    # dalapvio04:ent2      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio04:ent3      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio04:ent6      Gigabit Ethernet-SX PCI-X Adapter (14106802)
    # dalapvio04:ent0      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio04:ent1      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio04:ent4      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    # dalapvio04:ent5      10/100 Mbps Ethernet PCI Adapter II (1410ff01)
    
    # Create etherchannel adapters
    rmdev -Rdl ent11
    rmdev -Rdl en11
    rmdev -Rdl et11
    
    rmdev -Rdl ent12
    rmdev -Rdl en12
    rmdev -Rdl et12
    
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent2,ent3,ent6' \
       -a netaddr=10.33.65.254
    then
      /usr/lib/methods/defif
    fi
    if mkdev -c adapter -s pseudo -t ibm_ech \
       -a adapter_names='ent0,ent1,ent4' \
       -a netaddr=10.33.68.254 \
       -a backup_adapter='ent5'
    then
      /usr/lib/methods/defif
    fi
    lsdev -Cc adapter | grep ent
    
    chdev -l ent11 -a mode=round_robin
    chdev -l ent12 -a mode=round_robin
    lsattr -El ent11
    lsattr -El ent12
    
    /usr/ios/cli/ioscli mkvdev -sea ent11 -vadapter ent7 \
      -default ent7 -defaultid 65
    /usr/ios/cli/ioscli mkvdev -sea ent12 -vadapter ent9 \
      -default ent9 -defaultid 68
    
    # configure IP addresses on etherchannels
    smitty tcpip
    
    # dalapvio04:en8:  inet 10.33.65.185 netmask 0xffffff00
    # dalapvio04:en10: inet 10.33.68.153 netmask 0xffffff00
    
    
    
    
    
    
    
    
    
    
    -
    VIO Ether Config
    -
     


    FREE Domain Registration
    included with Web Site Hosting
    Tools, Social Networking, Blog

    www.siteox.com

    Business Web Site Hosting
    $3.99 / month includes Tools,
    Shopping Cart, Site Builder

    www.siteox.com